package net.realsee.service.wcs.device;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.device.WcsEquipmentType;
import net.realsee.domain.wcs.device.bo.WcsEquipmentTypeBo;
import net.realsee.domain.wcs.device.vo.WcsEquipmentTypeVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 设备类型Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsEquipmentTypeService extends IService<WcsEquipmentType> {

    /**
     * 查询设备类型
     */
    WcsEquipmentTypeVo selectVoById(Long id);

    /**
     * 查询设备类型列表
     */
    TableDataInfo<WcsEquipmentTypeVo> selectVoPage(WcsEquipmentTypeBo bo, PageQuery pageQuery);

    /**
     * 查询设备类型列表
     */
    List<WcsEquipmentTypeVo> selectVoList(WcsEquipmentTypeBo bo);

    /**
     * 新增设备类型
     */
    Boolean insertByBo(WcsEquipmentTypeBo bo);

    /**
     * 修改设备类型
     */
    Boolean updateByBo(WcsEquipmentTypeBo bo);

    /**
     * 校验并批量删除设备类型信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
